<?php

// This Class is for you. 
// Feel free to edit this file to extend your models classes.
// Please, never touch sufixed _protoweb classes

/**
 * 
 *
 * @Authors Sanchez Raul * @package sisco
 * @subpackage model
 */
class Almacen extends Almacen_protoweb
{

	/**
	 * Obtiene y retorna el almacen (punto de venta)
     */
    public static function getPuntoDeVenta()
    {
    	$CI =& get_instance();
        return (new Almacen ($CI->session->userdata('almacen_id')));
    } // getPuntoDeVenta
    
	public function __construct($id = NULL) 
	{
		parent::__construct($id);
	}

} // Class almacen

/* End of file almacen.php */
/* Location: ./application/models/almacen.php */